package models

import "gorm.io/gorm"

type News struct {
	gorm.Model
	Title   string `json:"title" gorm:"type:varchar(100)"`
	GetTime string `json:"get_time" gorm:"type:datetime"`
	Info    string `json:"info" gorm:"type:enum('科技新闻','体育新闻')"`
}
